<?php
	$this->pageTitle=Yii::app()->name . ' - Error';
	switch ($code) {
		case '403':
			$error = 'Permission Error';
		break;
		case '406':
			$error = 'Transaction not processed';
		break;
		case '404':
			$error = 'Hey, where is the page?';
		break;
		default:
		$error = 'Ops, There is an Error. Please Try again later';
			break;
	}
?>

<h2><?php echo $error ?></h2>

<div class="error">
<?php echo CHtml::encode($message); ?>
</div>
<span style='font-size:8pt;'>
	Error <?php echo $code; ?>
</span>